Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: wire-only watch implementation #457

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

pavelfeldman
Copy link
Member

No description provided.

const filesToWatch = new Set<string>();
for (const watch of this._watches) {
if (!watch.include) {
for (const project of this._projects.values()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enabledFiles()?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll follow up.

})
},
{
method: 'listTests',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is interesting that we both list and run in the same file. I wonder if we can avoid an extra list operation.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I was thinking that we should be reporting test tests in the testFilesChanged event. That would mean though that we should move watches to the server side.

@pavelfeldman pavelfeldman merged commit b27c200 into microsoft:main Apr 4, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants